<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="${ pageContext.request.contextPath }/css/bootstrap.css" />
<title>群发主页</title>
</head>
<body>
	<div class="container">
	<jsp:include page="../header.jsp"></jsp:include>
		<div style="margin: auto;">
			<div class="text-center">
				<h3>发送信息</h3>
				<font color="green">${ msg }</font>
			</div>
			<form class="form-horizontal col-sm-offset-3"  action="${ pageContext.request.contextPath }/TeacherServlet?method=sendmessage" method="post">
				<div class="form-group">
					<label for="send" class="col-sm-2 control-label">接收方</label>
					<div class="col-sm-4">
						<input type="text" id="send" class="form-control" name="send" placeholder="请输入接收方"> 
					</div> <span id="s1"></span>
				</div>
				<div class="form-group">
					<label for="content" class="col-sm-2 control-label">内容</label>
					<div class="col-md-4">
						<input type="text" id="content" class="form-control" name="content"  placeholder="请输入信息内容" ">
					</div> <span id="s2"></span>
				</div>
				<div class="form-group">
					<div class="col-md-2"></div>
					<div class="col-md-2">
						<input type="submit" class="btn btn-success btn-block" value="提交">
					</div>
				</div>
			</form>
		</div>
		<jsp:include page="../footer.jsp"></jsp:include>
	</div>
</body>

</html>
